//
//  scheduleCell.m
//  YouGoWeGo
//
//  Created by 范业君 on 14-11-22.
//  Copyright (c) 2014年 LiuFei. All rights reserved.
//

#import "scheduleCell.h"

@implementation scheduleCell

- (void)dealloc
{
    [_nameLabel release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        [_nameLabel setBackgroundColor:[UIColor blueColor]];
        [self.contentView addSubview:_nameLabel];
        [_nameLabel release];
    }
    
    return self;
}





- (void)layoutSubviews
{
    [super layoutSubviews];
    [_nameLabel setFrame:CGRectMake(5, 5, 70, 30)];
}















- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
